
package com.ea.eadp.nexus.test.pageDefinition.newconsole;

import org.openqa.selenium.WebDriver;

import com.ea.eadp.nexus.test.common.PageOperation;

public class LFCompleteAccountPage extends ConsoleBasePage {
    private static String panelTwoPhase = "panel-twophase";
    private static String popupWindowId = "modal";

    public LFCompleteAccountPage(WebDriver driver) {
        super(driver, LFCompleteAccountPage.class, panelTwoPhase);
    }

    public void clickFinish() {
        sendControllerKey('A');
    }

    public void clickBack() {
        PageOperation.WebDriverWait(driver, popupWindowId);
        sendControllerKey('B');
    }
}
